home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Shareware / Utilitare / chartist / wcharp43.exe / {app} / shapes.txt < prev    next >
Text File  |  2002-10-18  |  4KB  |  100 lines

  1.                       IMPORTANT SHAPE LIBRARY INFORMATION
  2.                                 October, 2002
  3.  
  4.                          USING AN EXISTING SHAPE FILE
  5.                         TO CREATE A CUSTOM SHAPE LIBARY
  6.                   Copyright 2002, Novagraph, Richardson, Texas
  7.  
  8. You can create your own custom library subset from a shape library. You can
  9. easily create a library from it that includes only the shapes that you want.
  10. You can then load this derived library into Chartist and use it for your chart
  11. documents.
  12.  
  13. What you need:
  14.  
  15.      1. The shape file you want to modify
  16.  
  17.      2. Chartist or Chartist-Pro
  18.  
  19.      3. A plain ASCII text editor, such as Notepad in Windows. The editor
  20.         must NOT introduce TABS or other formatting characters into the
  21.         document it is editing.
  22.  
  23. Procedure:
  24.  
  25.      1. Make sure the shape file is available on the same path as your
  26.         standard shape file (SHAPES.SHP). Copy it from the
  27.         distribution disk if necessary.
  28.  
  29.      2. Run Chartist and use the Load Shapes... command to load the
  30.         shape file as the current shape file.
  31.  
  32.      3. Choose the Symbol Shape... command and scroll through the shape list.
  33.         Make note of the exact names of the shapes that you want to include
  34.         (or exclude) from your custom library.
  35.  
  36.         NOTE: TWO SHAPES (Rect and Titl-Cent) and TWO ARROWS (Clsd-2:1-F
  37.         and Open-2:1) are required in a shape library. The program will
  38.         not operate correctly without these items in the library.
  39.  
  40.      4. Copy the original shape file into the target custom shape library file.
  41.          You can then edit the custom library without losing the original
  42.  
  43.      5. Use your Text Editor to remove the shape and arrow definitions that
  44.         you do not want.
  45.  
  46.         In the library, shape definitions begin with a "$" immediately
  47.         followed by the shape name. This is followed by several lines of
  48.         numbers, and then a new shape definition begins. The shapes are
  49.         defined first and appear in (mostly) alphabetical order, followed
  50.         by the arrows. Arrow definitions begin with a "@" immediately
  51.         preceding the Arrow names.
  52.  
  53.         The easiest way to remove a shape is to change the "$" that
  54.         immediately precedes the shape name to a "?". This will cause
  55.         the shape definition to be ignored when the library is loaded. This
  56.         technique will allow you to restore a deleted shape by changing
  57.         the "?" back to a "$" with your text editor and reloading
  58.         the library into Chartist-Pro.
  59.         
  60.  
  61.         For example, to remove the shape: Diam-Shad (Shadowed diamond)
  62.         from the library, you would locate "$Diam-Shad" in the library
  63.         and change the "$" to a "?" as shown below:
  64.  
  65.         ...
  66.         ...
  67.         $Diam
  68.           2, 4,-50, 0, 0, 50, 50, 0, 0,-50, 32767
  69.          -35,-35, 35, 35
  70.          -50,-50, 50, 50
  71.  ===>>  ?Diam-Shad
  72.           19
  73.           2, 4,-44, 6, 6, 56, 56, 6, 6,-44
  74.           5
  75.           2, 4,-50, 0, 0, 50, 50, 0, 0,-50, 32767
  76.          -35,-35, 35, 35
  77.          -50,-50, 56, 56
  78.         $Disk-A
  79.           2,12,-38,-50,-44,-30,-46,-10,-46, 10,-44, 30,-38, 50
  80.                 50, 50, 44, 30, 42, 10, 42,-10, 44,-30, 50,-50
  81.           32767
  82.          -38,-50, 38, 50
  83.          -50,-50, 50, 50
  84.          ...
  85.          ...
  86.  
  87.         Shapes deleted in this way are not loaded into memory, and do not
  88.         waste any space when you run Chartist. DO NOT DELETE Rect OR
  89.         Titl-Cent SHAPE DEFINITIONS, OR CHARTIST WILL NOT WORK!
  90.  
  91.         Since there are fewer arrow definitions, you should not need to
  92.         delete them. But if you must, use exactly the same technique as
  93.         above, only change the "@" to a "?" character. YOU MUST LEAVE THE
  94.         FIRST TWO ARROW DEFINITIONS ALONE, OR CHARTIST WILL NOT WORK!
  95.  
  96.      6. Save your new library file, and use the Load Shapes... command in
  97.         Chartist or Chartist-Pro to make it the selected library.
  98.  
  99.         ###
  100.